<include file="Public:header" />
<a href="{:U('Ad/')}">返回</a>
<div class="span">
	<a href="{:U('Ad/slide/')}">首页</a>
</div>
<foreach name="malls" item="mall">
<div class="span">
	<a href="{:U('Ad/slide/mid/')}{$mall.m_id}">{$mall.m_name}</a>
</div>
</foreach>
<form action="" method="post">
<table>
	<tr>
		<td>排序</td>
		<td>标示</td>
		<td>广告</td>
		<td>关键字</td>
		<td>广告链接地址</td>
	</tr>
	<foreach name="slides" item="slide">
	<tr>
		<td colspan="5"><img alt="" src="{$slide.imageUrl}"/></td>
	</tr>
	<tr>
		<td>
			<input type="text" value="{$slide.ordery}" name="ordery[]" />
			<input type="hidden" value="{$slide.a_id}" name="aid[]" />
		</td>
		<td>{$slide.id}</td>
		<td>{$slide.name}</td>
		<td>{$slide.keyword}</td>
		<td>{$slide.adUrl}</td>
	</tr>
	</foreach>
	<tr>
		<td colspan="5">
			<input type="submit" value="提交">
		</td>
	</tr>
</table>
</form>
<include file="Public:footer" />